package com.mccken.designpattern.adapter.adapter2.step3;

import com.mccken.designpattern.adapter.adapter2.support.ResultMsg;

/**
 * @program: mccken-collect
 * @description:
 * @author: mccken
 * @create: 2022-10-26 11:54
 **/
public class LoginForTelAdapter implements LoginAdapter{
	@Override
	public boolean support(LoginAdapter adapter) {
		return adapter instanceof LoginForTelAdapter;
	}
	@Override
	public ResultMsg login(String id, LoginAdapter adapter) {
		System.out.println("手机号登录");
		return null;
	}
}
